package com.phrp.service;

import com.phrp.entity.Notice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.phrp.entity.vo.PageData;
import com.phrp.entity.vo.SearchNoticeDataVO;
import com.phrp.entity.vo.UpdateDataVO;
import com.phrp.util.returnResult.ResponseResult;

import java.util.LinkedList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ssc
 * @since 2024-04-06
 */
public interface NoticeService extends IService<Notice> {

    ResponseResult addNotice(Notice noticeData);

    ResponseResult<PageData<LinkedList<Notice>>> searchBySearchData(SearchNoticeDataVO searchData);

    ResponseResult updateStatus(UpdateDataVO data);

    ResponseResult deleteNotice(LinkedList<String> ids);

    ResponseResult edit(Notice notice);

}
